<%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="Private_CMS_taxonomy_default" %>
<%@ Register TagPrefix="flux" Assembly="Deepcode.Flux.Core" Namespace="Deepcode.Flux.Core.UI.Controls" %>
<HTML>
<HEAD>
	<TITLE>FLUX.NET ECMS</title>
	<LINK rel="stylesheet" type="text/css" href="../../../Asset/Style/GeneralStyle.css"/>
    <script language="javascript">
	function loadContent(vv)
	{
		var f = frames["ActionsFrame"];
		if( f == null ) return;
		f.document.location.href = "actions.aspx?parentID=" + vv;
	}
	
	function refreshTree( nid )
	{
		var f = frames["TreeFrame"];
		if( f == null ) return;
		
		var scrollPos = "";
		if( f.document.body )
		    scrollPos = f.document.body.scrollLeft + "," + f.document.body.scrollTop;
		else
		    scrollPos = f.window.pageXOffset + "," + f.window.pageYOffset;
		    
		var ur = "tree.aspx?scrollTo=" + scrollPos;
		if( nid ) ur += "&selectNode=" + nid;
		
		f.location.href = ur;
	}
	function reloadAll()
	{
	    refreshTree();
	    loadContent(-1);
	}

	function reloadID( nid )
	{
	    refreshTree( nid );
	    loadContent( nid );
	}
	</script>    
</HEAD>
<body bgcolor="#f2f2f2">
<form runat="server" id="Form1">
<table width="100%" height="100%" cellspacing="5" cellpadding="0" border="0">
<tr>
	<td width="100%" height="100%" id="TreeCell">
		<flux:FrameBox runat="server" width="100%" height="100%" Title="Taxonomy Tree" url="tree.aspx" ID="Tree"/>
	</td>
</tr>
<tr>	
	<td width="100%" height="160" id="ContentCell">
		<flux:FrameBox runat="server" width="100%" height="160" Title="Selected Actions" url="nothing.aspx" ID="Actions" AllowScroll="false"/>
	</td>
</tr>
</table>
</form>
</body>
</HTML>